package cn.tedu._05mvcboot02.mapper;

import cn.tedu._05mvcboot02.pojo.entity.User;
import cn.tedu._05mvcboot02.pojo.vo.UserListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface UserMapper {

    int insertUser(User user);

    List<UserListVo> selectUserList();

    int deleteById(Integer id);

    int updateUser(User user);

    User selectById(Integer id);
}
